
<template>
    <div class="foot">
        <ul class="footcon">

           <router-link to="/" exact> <li>
                <i class="iconfont icon-home-filling"></i>
                首页
            </li>
            </router-link>
              <router-link to="/xuexi" exact> <li>
                <i class="iconfont icon-modular"></i>
                分类
            </li>
            </router-link>
              <router-link to="/zhanghao" exact> <li>
                <i class="iconfont icon-user"></i>
                我的学习
            </li>
            </router-link>
              <router-link to="/fenlie" exact> <li>
                <i class="iconfont icon-kangnaixin"></i>
                账号
            </li>
            </router-link>
        </ul>
    </div>
</template>

<script>
    export default {
        
    }
</script>

<style scoped>
*{
    margin: 0;
    padding: 0;
}
.foot{
    width: 100%;
    height: 50px;
    background: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    /* line-height:30px; */
}
.footcon li{
    list-style: none;
    margin-top: 5px;
}
a{
    text-decoration: none;
    color: #000;
}
i{
    display:block;
    font-size: 20px;
}
.footcon {
    display: flex;
    justify-content: space-around;
    text-align: center;
    /* flex-wrap: wrap; */
}
.footcon .router-link-active{
    color: red;
    text-decoration: none;
}
</style>